package com.junxonline.instant.dao.entity.model.terminal;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 终端音量设置表
 *
 * @author JunX
 * @date 2021-12-01
 */
@Data
@TableName(value = "th_terminal_volume")
public class TerminalVolume {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * 终端编号
     */
    @TableField(value = "terminal_code")
    private String terminalCode;

    /**
     * 音量
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    @TableField(value = "volume")
    private Integer volume;

}
